//---------------------------------------------------------------------
//  This file is part of the Background Motion solution.
// 
//  Copyright (C) Mindscape (TM).  All rights reserved.
//  http://www.mindscape.co.nz
// 
//  THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY
//  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
//  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//  PARTICULAR PURPOSE.
//---------------------------------------------------------------------

using System.Web.UI;

using Mindscape.BackgroundMotion.Model;

namespace Mindscape.BackgroundMotion.Website.Controls
{
  public partial class ContributionItem : UserControl
  {
    private Contribution _contribution;

    /// <summary>
    /// Sets the contribution bound to this control
    /// </summary>
    public Contribution Contribution
    {
      get { return _contribution; }
      set
      {
        _contribution = value;
        DataBinder.DataBind(this);
      }
    }
  }
}